<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />

<div class="t_bar">
	<span class="color_red">*</span>项目绩效目标表
</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="performances" cellspacing="1">

	<tr class="t_tr">
		<td align="center" nowrap>一级指标类别</td>
		<td class="TblHead" align="center" nowrap>二级指标类别</td>
		<td class="TblHead" align="center" nowrap>明细指标</td>
		<td class="TblHead" align="center">预期绩效目标</td>
	</tr>
		
		<c:set var="index" value="0" scope="page"/>	
		<x:forEach select="$xmlData/data/performances/performance" var="performance" begin="0" end="7">
			<tr>	
				<c:if test="${index == 0 }">
					<td align="center" rowspan="26">产出类指标</td>
					<td align="center" rowspan="12">知识产权</td>
				</c:if>
					<td>
						<x:out select="$performance/name" />
					</td>
					<td align="center">
						<x:out select="$performance/total_design" />
					</td>
			</tr>
		<c:set var="index" value="${index+1 }" scope="page"/>		
		</x:forEach>
		
		<x:forEach select="$xmlData/data/performances/performance" var="performance" begin="12" end="12">
			<tr>	
					<td>
						<x:out select="$performance/name" />
					</td>
					<td align="center">
						<x:out select="$performance/total_design" />
					</td>
			</tr>
		</x:forEach>
		
		<x:forEach select="$xmlData/data/performances/performance" var="performance" begin="14" end="16">
			<tr>	
					<td>
						<x:out select="$performance/name" />
					</td>
					<td align="center">
						<x:out select="$performance/total_design" />
					</td>
			</tr>
		</x:forEach>
		
		<c:set var="index" value="0" scope="page"/>	
		<x:forEach select="$xmlData/data/performances/performance" var="performance" begin="26" end="31">
			<tr>	
				<c:if test="${index == 0 }">
					<td align="center" rowspan="6">其他成果</td>
				</c:if>
					<td>
						<x:out select="$performance/name" />
					</td>
					<td align="center">
						<x:out select="$performance/total_design" />
					</td>
			</tr>
		<c:set var="index" value="${index+1 }" scope="page"/>		
		</x:forEach>
		
		
		<c:set var="index" value="0" scope="page"/>	
		<x:forEach select="$xmlData/data/performances/performance" var="performance" begin="35" end="42">
			<tr>	
				<c:if test="${index == 0 }">
					<td align="center" rowspan="6">人才引育</td>
				</c:if>
				<c:if test="${index == 6 }">
					<td align="center" rowspan="2">产业化情况</td>
				</c:if>
					<td>
						<x:out select="$performance/name" />
					</td>
					<td align="center">
						<x:out select="$performance/total_design" />
					</td>
			</tr>
		<c:set var="index" value="${index+1 }" scope="page"/>		
		</x:forEach>
		
		
		<c:set var="index" value="0" scope="page"/>	
		<x:forEach select="$xmlData/data/performances/performance" var="performance" begin="43" end="58">
		<c:if test="${index != 8 }">
			<tr align="center">	
				<c:if test="${index == 0 }">
					<td align="center" style="" rowspan="15">效果类指标</td>
					<td align="center" rowspan="5">经济效益</td>
				</c:if>
				<c:if test="${index == 5 }">
					<td align="center" rowspan="10">社会效益</td>
				</c:if>
					<td align="left">
						<x:out select="$performance/name" />
					</td>
					<td  <c:if test="${index == 14 or index == 15 }">align="left"</c:if> >
						<x:out select="$performance/total_design" />
					</td>
			</tr>
		</c:if>
		<c:set var="index" value="${index+1 }" scope="page"/>		
		</x:forEach>
		
		 
	 <tr style="height: auto;">
	<td align="left" style="" nowrap>其他需要说明的情况</td>
	<td colspan="6"><pre><x:out select="$xmlData/data/performances/summary" /></pre></td>
	</tr> 
</table>





